<template>
  <div class="item-content" style="height: 270px; display: flex">
    <ht-table
      ref="dataTable"
      :showSerialNumber="false"
      :dictMap="dictMap"
      :showRightToolbar="false"
      :reqConfig="reqConfig"
      :tableBindColumns="tableBindColumns"
      sortType="close"
      :showPagination="false"
    >
      <template v-slot:txnId="slotProps">
        <router-link to="/bizMng/exceptionHandling/exceptionHandling">
        <span>{{ slotProps.row.txnId }}</span>
      </router-link>
      </template>
      <!--  -->
    </ht-table>
  </div>
</template>
<script>
import { exceptionHandlerApi } from "@/api/cnaps/dashboard/index";
import { listPageMixin } from "@/libs/listPageMixin";
export default {
  name: "ExceptionHandler",
  mixins: [listPageMixin],
  data() {
    return {
      reqConfig: exceptionHandlerApi,
      tableBindColumns: [
        {
          label: "流水号",
          prop: "txnId",
          customSlot: true,
        },
        {
          label: "异常类型",
          prop: "exceptionType",
          dictCode: "EXCEPTION_TYPE",
        },
        // {
        //   label: "异常时间",
        //   prop: "sndRcvTime",
        //   width: 150,
        // },
      ],
    };
  },
  mounted() {},
  methods: {},
};
</script>
